package com.ktwlrj.securitycenter.service;
import com.ktwlrj.core.base.SuperServer;
import com.ktwlrj.securitycenter.controller.args.SafeInterceptTargetArgs;
import com.ktwlrj.securitycenter.dto.SafeInterceptTargetDto;
import com.ktwlrj.securitycenter.entity.SafeInterceptTargetEntity;

import java.util.List;

/**
 * 预警拦截对象业务层接口
 *
 * @author code generation
 * @date 2020-02-24 18:08:13
 * @since JDK1.8
 */
public interface SafeInterceptTargetService extends SuperServer<SafeInterceptTargetEntity> {
    /**
     * 批量保存
     *
     * @param args ${@link SafeInterceptTargetArgs}
     * @throws RuntimeException ${@link RuntimeException}
     * @author code generation
     * @date 2020-02-24 18:08:13
     */
    void batchSave(List<SafeInterceptTargetArgs> args) throws RuntimeException;

    /**
     * 条件查询多条
     *
     * @param interceptId  预警拦截id
     * @throws RuntimeException ${@link RuntimeException}
     * @return List<SafeInterceptTargetDto> ${@link List<SafeInterceptTargetDto>}
     * @author code generation
     * @date 2020-02-24 18:08:13
     */
    List<SafeInterceptTargetDto> selectListByModel(String interceptId) throws RuntimeException;
}